package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageFactory;
import cn.stylefeng.guns.sys.modular.system.entity.Kms;
import cn.stylefeng.guns.sys.modular.system.entity.SysQnlKey;
import cn.stylefeng.guns.sys.modular.system.mapper.KmsMapper;
import cn.stylefeng.guns.sys.modular.system.mapper.SysQnlKeyMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @author YuJiBiao
 * @version: 1.0
 * @Date 2020/7/8 16:54
 **/
@Service
public class SysQnlKeyService extends ServiceImpl<SysQnlKeyMapper, SysQnlKey> {

    /**
     * 根据条件查询用户列表
     *
     * @author fengshuonan
     * @Date 2018/12/24 22:45
     */
    public Page<Map<String, Object>> selectSysQnlKey(String status) {
        Page page = LayuiPageFactory.defaultPage();
        return this.baseMapper.selectQnlKeyList(page,status);
    }
}
